/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Almacenamiento;

import java.util.LinkedList;

/**
 *
 * @author Christian
 */
public class Main {
    public static void main(String[] args) {
        Atributo Atr1 = new Atributo("Id_cliente",Integer.class);
        Atributo Atr2 = new Atributo("Nombre_cliente",String.class);
        Atributo Atr3 = new Atributo("Direccion_cliente",String.class);
        Atributo Atr4 = new Atributo("Telefono_cliente",Long.class);
        Atributo Atr5 = new Atributo("Tipo_cliente",String.class);
        
        LinkedList L = new LinkedList();
        L.add(Atr1);
        L.add(Atr2);
        L.add(Atr3);
        L.add(Atr4);
        Relacion R = new Relacion(L);
        System.out.println(R.toString());
        R.adicionarAtributo(Atr5);
        System.out.println(R.toString());
        R.EliminarAtributo(Atr4);
        System.out.println(R.toString());
    }
}
